Skip to content

[PR #623]: Acceptance Test PR - Add support for Ubuntu 26.04#628

Draft
span786 wants to merge 1 commit into
mainfrom
add-support-for-ubuntu-26_04
Draft

[PR #623]: Acceptance Test PR - Add support for Ubuntu 26.04#628
span786 wants to merge 1 commit into
mainfrom
add-support-for-ubuntu-26_04

Conversation

@span786

@span786 span786 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Set default OpenJDK to 21 for Ubuntu 26.04 in params.pp Add Ubuntu 26.04 to supported OS releases in metadata.json Extend parameterized tests for Ubuntu 18.04 to include 20.04 and 22.04 (openjdk-11) Add separate tests for Ubuntu 24.04 (openjdk-17) and 26.04 (openjdk-21)

Related Issues (if any)

PR #623

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

Set default OpenJDK to 21 for Ubuntu 26.04 in params.pp
Add Ubuntu 26.04 to supported OS releases in metadata.json
Extend parameterized tests for Ubuntu 18.04 to include 20.04 and 22.04 (openjdk-11)
Add separate tests for Ubuntu 24.04 (openjdk-17) and 26.04 (openjdk-21)
@span786 span786 requested review from a team and bastelfreak as code owners June 11, 2026 11:12
@span786 span786 requested a review from Copilot June 11, 2026 11:28
@span786 span786 marked this pull request as draft June 11, 2026 11:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds module support for Ubuntu 26.04 by updating the default OpenJDK selection logic and extending unit test coverage to validate the expected package/JAVA_HOME behavior across supported Ubuntu releases.

Changes:

  • Updated Debian-family release-to-OpenJDK mapping to default Ubuntu 26.04 to OpenJDK 21.
  • Added Ubuntu 26.04 to the module’s supported OS list in metadata.json.
  • Expanded java class spec coverage for Ubuntu 18.04/20.04/22.04 (OpenJDK 11) and added explicit specs for Ubuntu 24.04 (OpenJDK 17) and 26.04 (OpenJDK 21).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
spec/classes/java_spec.rb Extends rspec-puppet coverage for Ubuntu releases and expected OpenJDK/JAVA_HOME values.
metadata.json Declares Ubuntu 26.04 as a supported OS release.
manifests/params.pp Maps Ubuntu 26.04 to OpenJDK 21 defaults in Debian-family params logic.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants